const dbUser = require('../collections/dbUser')

const dbUserAmend=(account, newPassword )=>{
   return dbUser.updateOne({ account }, {
        password: newPassword
    })
}

module.exports={
    dbUserAmend
}